package com.moxiao.yfjh.module.system.controller.admin.memmessage.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.moxiao.yfjh.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 聊天记录 Excel 导出 Request VO，参数和 MemMessagePageReqVO 是一致的")
@Data
public class MemMessageExportReqVO {

    @Schema(description = "记录ID", example = "2083")
    private String recordId;

    @Schema(description = "消息发送方：0表示自动回复", example = "32698")
    private Integer sendMemId;

    @Schema(description = "消息接收方", example = "4963")
    private Integer reciveMemId;

    @Schema(description = "消息类型：TIMTextElem（文本消息）TIMLocationElem（位置消息）TIMFaceElem（表情消息）TIMCustomElem（自定义消息）TIMSoundElem（语音消息）TIMImageElem（图像消息）TIMFileElem（文件消息）TIMVideoFileElem（视频消息）", example = "2")
    private String messageType;

    @Schema(description = "消息内容")
    private String messageContent;

    @Schema(description = "状态（备用）", example = "1")
    private Integer messageStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
